//
//  AILoadingView.h
//  OnionHome
//
//  Created by fengjie on 2019/9/21.
//  Copyright © 2019 FengJie. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN


@interface AILoadingView : UIView

/**
 开始动画
 */
- (void)starAnimation;

/**
 停止动画
 */
- (void)stopAnimation;
/** 一次动画所持续时长 默认2秒*/
@property(nonatomic,assign)NSTimeInterval duration;
/** 线条颜色*/
@property (nonatomic, strong) UIColor *strokeColor;

@end

NS_ASSUME_NONNULL_END
